Refactor window-system configuration
authorDaniel Colascione <dancol@dancol.org>
Sat, 1 Sep 2012 06:38:52 +0000 (22:38 -0800)
committerDaniel Colascione <dancol@dancol.org>
Sat, 1 Sep 2012 06:38:52 +0000 (22:38 -0800)
commitdc626b0ce603db164df9f0cdd4d21b0018b77b5c
tree9404fdef3ded70e6d1cce5321c3ea9b73d8beceb
parent28c77939da0d29eeefee095dd5349e7814c21dce
Refactor window-system configuration

This change streamlines the window system selection code in
configure.in and moves many common function declarations from
window-specific headers to frame.h.  It introduces a new TERM_HEADER
macro in config.h: we set this macro to the right header to use for
the window system for which we're compiling Emacs and have source
files include it indirectly.  This way, we don't have to teach every
file about every window system.
24 files changed:
ChangeLog
configure.ac
nt/ChangeLog
nt/inc/ms-w32.h
src/ChangeLog
src/Makefile.in
src/ccl.h
src/dispnew.c
src/emacs.c
src/font.c
src/frame.c
src/frame.h
src/gtkutil.h
src/image.c
src/keyboard.c
src/keyboard.h
src/menu.c
src/nsterm.h
src/process.c
src/w32font.h
src/w32term.h
src/w32xfns.c
src/xfaces.c
src/xterm.h